package com.p2p.system.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 系统账户流水表
 * </p>
 *
 * @author 罗永东
 * @since 2023-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Systemaccountflow implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 系统账户流水ID
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建时间
     */
    @TableField("createdDate")
    private LocalDateTime createddate;

    /**
     * 账户操作类型
     */
    private Integer accountactiontype;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 备注
     */
    private String note;

    /**
     * 余额
     */
    private BigDecimal balance;

    /**
     * 冻结金额
     */
    @TableField("freezedAmount")
    private BigDecimal freezedamount;

    /**
     * 系统账户ID
     */
    @TableField("systemAccount_id")
    private Long systemaccountId;

    /**
     * 目标用户ID
     */
    private Long targetuserId;


}
